home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / cinflect.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.1 KB  |  40 lines

  1. .TH CINFLECT
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CINFLECT
  5.  
  6.  
  7.  
  8.  ListType CINFLECT( CurveType Crv, NumericType Epsilon )
  9.  
  10.  or
  11.  
  12.  CurveType CINFLECT( CurveType Crv, NumericType Epsilon )
  13.  
  14. Computes the inflection points of Crv in the XY plane.
  15. Since this computation is numeric, an Epsilon is also required
  16. to specify the desired tolerance. It returns a list of all the
  17. parameter values (NumericType) in which the curve has an inflection point.
  18. If, however, Epsilon is negative, a scalar field curve representing
  19. the sign of the curvature of the curve is returned instead.
  20.  
  21.  The sign of curvature scalar field is equal to
  22.  
  23.        s(t) = x' y'' - x'' y' 
  24.  
  25. Example:
  26.  
  27.     inflect = CINFLECT( crv, 0.001 );
  28.     pt_inflect = nil();
  29.     pt = nil();
  30.     for ( i = 1, 1, sizeof( inflect ),
  31.             pt = ceval( crv, nth( inflect, i ) ):
  32.             snoc( pt, pt_inflect )
  33.         );
  34.     interact( list( axes, crv, pt_inflect ), 0);
  35.  
  36. Computes the set of inflection points of curve crv with error
  37. tolerance of 0.001. This set is then scanned in a loop and
  38. evaluated to the curve's locations which are then displayed with the crv.
  39. See also CZEROS, CEXTREMES, and CCRVTR.
  40.